/**
 * @file
 * @auth jinguangguo
 * @date 2016/10/26
 */

import ajax from '../../../grsc-base/util/ajax';

export default {

    /**
     * 公告列表
     * @param param
     * @returns {*}
     */
    noticeList1(param = {}) {
        return ajax.get('/exchangeApi/noticeApi/noticeList', {
            data: param
        });
    },
    noticeList2(param = {}) {
        return ajax.get('/exchangeApi/noticeApi/newsList', {
            data: param
        });
    },

    /**
     * 公告详情
     * @param param
     * @returns {*}
     */
    noticeDetail(param = {}) {
        return ajax.get('/exchangeApi/noticeApi/infoDetail', {
            data: param
        });
    }

};